An adjustable HProgress chart

This HProgress chart doesn't use the built-in adjusting but uses a cutom onclick event listener (which you can see below) in order to make the adjusting animated.

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.hprogress.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="100">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    new RGraph.HProgress({
        id: 'cvs',
        min: 0,
        max: 100,
        value:89,
        options: {
            tickmarks: 100,
            numticks: 20,
            gutterRight: 30,
            margin: 5,
            textAccessible: true
        }
    }).draw().exec(function(obj)
    {
        obj.canvas.onclick = function (e)
        {
            var value = obj.getValue(e);
            obj.value = value;
        
            obj.grow();
        }
    });
</script>